﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ArrayAsParam
{
    class Program
    {
        
        static void Main(string[] args)
        {
            ArrayChange first = new ArrayChange();
            
            int[] firstArr = { 1, 3, 5, 7, 9 };
            int[] secondArr = { 2, 3, 4, 6, 10 };
            int[] thirdArr = { 9, 5, 3, 2, 1, 4 };

            first.changeArray(firstArr, secondArr, thirdArr);
            Console.WriteLine("first array");
            first.printArray(firstArr);
            Console.WriteLine("second array");
            first.printArray(secondArr);
            Console.WriteLine("third array");
            first.printArray(thirdArr);

        }
    }
}

